﻿package mortal.game.view.copy.crossMainCity.mainCityExpAddition
{
    import Message.Game.*;
    import extend.language.*;
    import flash.events.*;
    import mortal.game.manager.*;
    import mortal.game.mvc.*;
    import mortal.mvc.core.*;

    public class MainCityExpAdditionProxy extends Proxy
    {

        public function MainCityExpAdditionProxy()
        {
            return;
        }// end function

        public function openExpAct() : void
        {
            rmi.iGuild.openExpAvtive_async(new AMI_IGuild_openExpAvtive(this.openExpActSuccess, this.openExpActFail));
            return;
        }// end function

        private function openExpActSuccess(param1:AMI_IGuild_openExpAvtive) : void
        {
            Dispatcher.dispatchEvent(new Event(EventName.MainCityOpenExpActSuccess));
            return;
        }// end function

        private function openExpActFail(param1 = null) : void
        {
            MsgManager.showRollTipsMsg(Language.getString(90481));
            return;
        }// end function

    }
}
